package com.xxg.socket;

/**
 * Created by game group on 2020/12/23.
 */
public interface YmaClient {
    Object onOpen();
    Object onMessage(Object message);
    void onError(Throwable e);
    void onClose();
    void send (Object message);

    void connect();
    void disConnect();
}
